package com.kyk.kktakeaway.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品分类表
 * </p>
 *
 * @author 凯
 * @since 2025-09-12
 */
@Getter
@Setter
@TableName("product_categories")
public class ProductCategories implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 分类ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 餐厅ID
     */
    private Long restaurantId;

    /**
     * 分类名称
     */
    private String name;

    private LocalDateTime createdAt;
}
